package cn.stylefeng.guns.modular.gridsystem.mapper;

import cn.stylefeng.guns.modular.gridsystem.model.param.BizGatewayNewFileParam;
import cn.stylefeng.guns.modular.gridsystem.model.result.BizGatewayNewFileResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.stylefeng.guns.modular.gridsystem.entity.BizGatewayNewFile;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * 网关最新文件 Mapper 接口
 *
 * @author ssy
 * @date 2022/11/03 15:47
 */
public interface BizGatewayNewFileMapper extends BaseMapper<BizGatewayNewFile> {

    Page<BizGatewayNewFileResult> pageList(Page page, @Param("param") BizGatewayNewFileParam param, @Param("list") String[] list);

    BizGatewayNewFileResult getGatewayChannelNewFile(@Param("gatewayCode") String gatewayCode, @Param("channel") String channel);
}
